<template>
    <section class="main">
        <!-- body -->
    </section>
</template>
<script>
export default {
    data: function() {
        return {}
    },
    methods: {
        onLoad() {
            // let canvas = document.getElementById('canvas');
            // console.log(canvas);
            // console.log('===');
        },
        testMounted() {
            this.$refs.scanvas.style.color = "red";
            this.$refs.input1.value = "22";
            let canvas = document.getElementById('canvas');
        }
    },
    created: function() {
        this.onLoad();
    },
    mounted: function() {
        this.testMounted();
    }
}

</script>
